package com.bak;

public class Main {
    public static void main(String[] args) throws InterruptedException {
        TankFrame tankFrame = new TankFrame();
        int size = Integer.parseInt(PropertiesManager.getValue("BAD_GROUP_TANK_SIZE"));
        for (int i = 0; i < size; i++) {
            tankFrame.getTankList().add(new Tank(20 + i * 80, 300, Group.BAD, true, tankFrame));

        }
        while (true) {
            Thread.sleep(50);

            tankFrame.repaint();
        }

    }
}
